package com.czy.seed.mvc.home.entity;

import com.czy.seed.mvc.base.entity.IPrepare;

import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @author pc
 * @Author: liuyun
 * Created by liuyun  9:42 2017/11/23.
 */
@Table(name = "ORDERS")
public class Orders implements IPrepare {
    private static final long serialVersionUID = 1234349270440029687L;
    @Id
    private Long id;

    private String orderNum;

    private String orderType;

    private String orderInitiator;

    private String  orderApprover;

    private String orderTerminator;

    private Date creationTime;

    private Date updateTime;

    private Long version;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(String orderNum) {
        this.orderNum = orderNum;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderInitiator() {
        return orderInitiator;
    }

    public void setOrderInitiator(String orderInitiator) {
        this.orderInitiator = orderInitiator;
    }

    public String getOrderApprover() {
        return orderApprover;
    }

    public void setOrderApprover(String orderApprover) {
        this.orderApprover = orderApprover;
    }

    public String getOrderTerminator() {
        return orderTerminator;
    }

    public void setOrderTerminator(String orderTerminator) {
        this.orderTerminator = orderTerminator;
    }

    public Date getCreationTime() {
        return creationTime;
    }

    public void setCreationTime(Date creationTime) {
        this.creationTime = creationTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}
